﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;

namespace ProjectFinal
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
#if !DEBUG  //Don't catch exceptions in Debug
						try {
#endif
							Application.Run(new frmWelcome());
#if !DEBUG
						} catch(System.Exception e){
							MessageBox.Show("Error: " + e.Message + "\nProgram will terminate.", 
								"Fatal Error",
								MessageBoxButtons.OK,
								MessageBoxIcon.Exclamation);
						}
#endif
        }
    }
}
